package com.tutu.collect;

import com.tutu.commons.clients.ProductClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Program: b2c-cloud-store
 * @Description:
 * @Author: JK.TuTu
 * @ @Version: 1.0
 * @Create: 2022-12-20 16:38
 **/
@Slf4j
@SpringBootApplication
@ComponentScan(basePackages = {"com.tutu.commons.config","com.tutu.collect"})
@EnableFeignClients(clients = {ProductClient.class})
public class CollectServeApplication {
    public static void main(String[] args) {
        SpringApplication.run(CollectServeApplication.class, args);
        log.info("用户收藏服务已启动......");
    }
}
